package com.zhuoya.healthcard;

import android.app.*;

import com.blankj.utilcode.util.Utils;
import com.epson.isv.eprinterdriver.Ctrl.*;
import com.tencent.bugly.crashreport.CrashReport;

public class EPApplication extends Application {
    private static final String TAG = "EPApplication";

    @Override
    public void onCreate() {
        super.onCreate();
        Utils.init(this);
        CrashReport.initCrashReport(getApplicationContext(), "6466e18759", false);
        EPrintManager.instance().initEscprLib(this.getApplicationContext());
    }

    @Override
    public void onTerminate() {
        super.onTerminate();
        EPrintManager.instance().releaseEscprLib(this.getApplicationContext());
    }
}
